

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0500 */
/* at Tue Jan 05 15:30:01 2010
 */
/* Compiler settings for .\VC1EncoderBackend.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __VC1EncoderBackend_i_h__
#define __VC1EncoderBackend_i_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IVC1EncASF_FWD_DEFINED__
#define __IVC1EncASF_FWD_DEFINED__
typedef interface IVC1EncASF IVC1EncASF;
#endif 	/* __IVC1EncASF_FWD_DEFINED__ */


#ifndef __VC1EncASF_FWD_DEFINED__
#define __VC1EncASF_FWD_DEFINED__

#ifdef __cplusplus
typedef class VC1EncASF VC1EncASF;
#else
typedef struct VC1EncASF VC1EncASF;
#endif /* __cplusplus */

#endif 	/* __VC1EncASF_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


/* interface __MIDL_itf_VC1EncoderBackend_0000_0000 */
/* [local] */ 

typedef /* [public][public] */ struct __MIDL___MIDL_itf_VC1EncoderBackend_0000_0000_0001
    {
    DOUBLE dBitRate;
    DWORD dwComplexityLevel;
    DWORD dwQP;
    DOUBLE dFrameRate;
    BOOL bInterlacedSource;
    DWORD dwMaxKeyFrameDistance;
    DWORD dwMaxHeight;
    DWORD dwMaxWidth;
    DWORD dwNumOfBFrames;
    DOUBLE dPeakBitRate;
    DWORD dwProfile;
    DWORD dwRateControlMode;
    DWORD dwVBVBufferInBytes;
    } 	CONFIG_PROPERTIES2;

typedef /* [public][public] */ struct __MIDL___MIDL_itf_VC1EncoderBackend_0000_0000_0002
    {
    BOOL bDenoise;
    BOOL bInLoop;
    BOOL bMedian;
    BOOL bOverlapSmoothing;
    BOOL bNoiseEdgeRemoval;
    } 	FILTERS2;

typedef /* [public][public] */ struct __MIDL___MIDL_itf_VC1EncoderBackend_0000_0000_0003
    {
    DWORD dwDeltaMVRangeIndex;
    DWORD dwMotionSearchLevel;
    DWORD dwMotionSearchMethod;
    DWORD dwMBModeCost;
    DWORD dwMVCost;
    DWORD dwMVRange;
    } 	ME_PROPERTIES2;

typedef /* [public][public] */ struct __MIDL___MIDL_itf_VC1EncoderBackend_0000_0000_0004
    {
    DWORD dwAdaptiveQuant;
    DWORD dwDQuantOption;
    DWORD dwDQuantPStrength;
    DWORD dwDQuantBStrength;
    } 	QUANT_PROPERTIES2;



extern RPC_IF_HANDLE __MIDL_itf_VC1EncoderBackend_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_VC1EncoderBackend_0000_0000_v0_0_s_ifspec;

#ifndef __IVC1EncASF_INTERFACE_DEFINED__
#define __IVC1EncASF_INTERFACE_DEFINED__

/* interface IVC1EncASF */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IVC1EncASF;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("B3C6E3B2-782C-49FB-B740-AB186A218477")
    IVC1EncASF : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Init( 
            /* [in] */ CONFIG_PROPERTIES2 cfProperties,
            /* [in] */ FILTERS2 filters,
            /* [in] */ ME_PROPERTIES2 meProperties,
            /* [in] */ QUANT_PROPERTIES2 qtProperties,
            /* [in] */ BOOL bLookAhead,
            /* [in] */ INT32 iVideoType,
            /* [in] */ BSTR bsInputAVSFile,
            /* [in] */ BSTR bsProfileFileName,
            /* [in] */ BSTR bsOutputFileName) = 0;
        
        virtual /* [local][helpstring][id] */ HRESULT STDMETHODCALLTYPE Encode( 
            INT32 functionPointer) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Destroy( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IVC1EncASFVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IVC1EncASF * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IVC1EncASF * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IVC1EncASF * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IVC1EncASF * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IVC1EncASF * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IVC1EncASF * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IVC1EncASF * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Init )( 
            IVC1EncASF * This,
            /* [in] */ CONFIG_PROPERTIES2 cfProperties,
            /* [in] */ FILTERS2 filters,
            /* [in] */ ME_PROPERTIES2 meProperties,
            /* [in] */ QUANT_PROPERTIES2 qtProperties,
            /* [in] */ BOOL bLookAhead,
            /* [in] */ INT32 iVideoType,
            /* [in] */ BSTR bsInputAVSFile,
            /* [in] */ BSTR bsProfileFileName,
            /* [in] */ BSTR bsOutputFileName);
        
        /* [local][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Encode )( 
            IVC1EncASF * This,
            INT32 functionPointer);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Destroy )( 
            IVC1EncASF * This);
        
        END_INTERFACE
    } IVC1EncASFVtbl;

    interface IVC1EncASF
    {
        CONST_VTBL struct IVC1EncASFVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IVC1EncASF_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IVC1EncASF_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IVC1EncASF_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IVC1EncASF_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IVC1EncASF_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IVC1EncASF_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IVC1EncASF_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define IVC1EncASF_Init(This,cfProperties,filters,meProperties,qtProperties,bLookAhead,iVideoType,bsInputAVSFile,bsProfileFileName,bsOutputFileName)	\
    ( (This)->lpVtbl -> Init(This,cfProperties,filters,meProperties,qtProperties,bLookAhead,iVideoType,bsInputAVSFile,bsProfileFileName,bsOutputFileName) ) 

#define IVC1EncASF_Encode(This,functionPointer)	\
    ( (This)->lpVtbl -> Encode(This,functionPointer) ) 

#define IVC1EncASF_Destroy(This)	\
    ( (This)->lpVtbl -> Destroy(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IVC1EncASF_INTERFACE_DEFINED__ */



#ifndef __VC1EncoderBackendLib_LIBRARY_DEFINED__
#define __VC1EncoderBackendLib_LIBRARY_DEFINED__

/* library VC1EncoderBackendLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_VC1EncoderBackendLib;

EXTERN_C const CLSID CLSID_VC1EncASF;

#ifdef __cplusplus

class DECLSPEC_UUID("3E97E3B1-6779-4CA5-AB99-C3357C76A767")
VC1EncASF;
#endif
#endif /* __VC1EncoderBackendLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


